//
//  DataBaseHandle.h
//  FoodFamily
//
//  Created by dlios on 15-6-27.
//  Copyright (c) 2015年 guoBang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "Movie.h"
@interface DataBaseHandle : NSObject
@property(nonatomic,assign)BOOL panduan;
+(instancetype)shareDataBaseHandle;
#pragma 打开数据库;收藏
-(void)openDB;
#pragma 创建表
-(void)createTable;
#pragma 插入数据
-(void)insertMovie:(Movie *)mov;
#pragma 删除
-(void)deleteTable:(NSString *)name;
#pragma 查询
-(NSMutableArray *)selectAllMovie;
#pragma 删除表
-(void)dropTable;
@end
